import React,{Component} from 'react'
import {withRouter} from 'react-router-dom'
import { CameraOutlined } from '@ant-design/icons';
class Camera extends Component{
  styleRight = {
    marginRight: '0.3rem',
    fontSize:'.3rem',
    background:'white'
  }
  render(){return <CameraOutlined style={this.styleRight} onClick={()=>{this.props.history.push('/addCo')}}/>}
}
export default withRouter(Camera)